import React from 'react';
import ReactDOM from 'react-dom/client';
import { Button, ConfigProvider, message } from 'antd';
import App from './app';

message.config({
  duration: 1,
});
ReactDOM.createRoot(document.getElementById('root') as HTMLElement).render(
  <React.StrictMode>
    <ConfigProvider>
      <App />
    </ConfigProvider>
  </React.StrictMode>,
);
